package com.by.erpcu.service.impl;


import com.by.crud.IcurdMapper;
import com.by.crud.IcurdServiceImpl;
import com.by.erpcu.entity.Customer;
import com.by.erpcu.mapper.CustomerMapper;
import com.by.erpcu.service.CustomerService;
import org.springframework.stereotype.Service;

@Service
public class CustomerServiceImpl extends IcurdServiceImpl<Customer, CustomerMapper> implements CustomerService {
    @Override
    public Customer getCustomerById(String id) {
        Customer customer = new Customer();
        customer.setId(id);
        Customer select = mapper.select(customer);

        return select;
    }
}
